package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.conclusion;

import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.thirdparty.transit.ConclusionModel;

import java.util.Set;

/**
 * description:
 * 第三方核保策略
 *
 * @author jackdaw
 * @date 2020-06-28 17:55
 */
public interface ConclusionStrategy {
    /**
     * 第三方结论综合核保
     *@param  conclusion 结论
     * @param requestModel 受理请求报文request节点
     * @param artificial   支持人核
     * @return 生成综合核保结论 1-拒保 2-通过 3-人核
     */
    ConclusionModel underwrite(ConclusionModel conclusion, RequestModel requestModel, boolean artificial);
}
